export default [
    // 权限路由
    {
        path: '/',
        redirect: '/survey',
        hidden: true // 是否展示在侧边栏的菜单里
    },
    // 数据概览
    {
        path: '/survey',
        component: 'Layout',
        redirect: '/survey/index',
        meta: {
            menuName: 'Survey', // 一级菜单标题
            icon: 'icon-shouye' // 一级菜单的图标
        },
        children: [{
            path: 'index',
            name: 'Survey',
            component: '/survey/index',
            meta: {
                refresh: false,
                title: '', // 页面头部的标题
                isOnly: true, // 单独页面
                auth: [], // 单独页面按钮操作权限
                pagePermission: [{
                    title: 'Survey',
                    index: 0,
                    auth: []
                }]
            }
        }]
    },
    // 助教管理
    {
        path: '/technician',
        component: 'Layout',
        redirect: '/technician/list',
        meta: {
            menuName: 'Technician',
            icon: 'icon-meitimeirong',
            subNavName: [{
                name: 'TechnicianManage',
                url: [{
                    name: 'TechnicianManage',
                    url: '/technician/list'
                }, {
                    name: 'TechnicianLevel',
                    url: '/technician/level'
                }, {
                    name: 'TechnicianSet',
                    url: '/technician/set'
                }
                    // , {
                    //   name: 'TechnicianLook',
                    //   url: '/technician/look'
                    // }
                    // , { 助教解约
                    //   name: 'tecTermination',
                    //   url: '/technician/termination'
                    // }
                ]
            }]
        },
        children: [{
            path: 'list',
            name: 'TechnicianManage',
            component: '/technician/list',
            meta: {
                keepAlive: true,
                title: 'TechnicianManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'TechnicianManage',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete', 'authTechnician', 'resetExamine', 'cancelAuth', 'resetAuth', 'updateAgent', 'authenticationExamine']
                }]
            }
        }, {
            path: 'edit',
            name: 'TechnicianEdit',
            component: '/technician/edit',
            hidden: true,
            meta: {
                title: 'TechnicianManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'TechnicianEdit',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'level',
            name: 'TechnicianLevel',
            component: '/technician/level',
            meta: {
                title: 'TechnicianManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'TechnicianLevel',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete', 'setCycle']
                }]
            }
        }, {
            path: 'set',
            name: 'TechnicianSet',
            component: '/technician/set',
            meta: {
                title: 'TechnicianManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'TechnicianSet',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'termination',
            name: 'tecTermination',
            component: '/technician/termination',
            hidden: true,
            meta: {
                title: 'TechnicianManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'tecTermination',
                    index: 0,
                    auth: []
                }]
            }
        },
            {
                path: 'look',
                name: 'TechnicianLook',
                component: '/technician/look',
                meta: {
                    title: 'TechnicianManage',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'TechnicianLook',
                        index: 0,
                        auth: []
                    }]
                }
            }]
    },
    // 批量下单管理
    // {
    //   path: "/batchOrder",
    //   component: 'Layout',
    //   redirect: '/batchOrder/list',
    //   meta: {
    //     menuName: 'BatchOrder',
    //     icon: 'icon-crmkehuguanli',
    //     subNavName: [{
    //       name: "BatchOrderManage",
    //       url: [
    //         {
    //           name: 'BatchOrderList',
    //           url: '/batchOrder/list'
    //       }
    //       ]}]
    //   },
    //   children: [
    //     {
    //       path: 'list',
    //       name: 'BatchOrderList',
    //       component: '/batchOrder/list',
    //       meta: {
    //         title: 'BatchOrderManage',
    //         auth: [],
    //         isOnly: false,
    //         pagePermission: [{
    //           title: 'BatchOrderList',
    //           index: 0,
    //           auth: ['pagedata', 'add', 'edit', 'delete']
    //         }]
    //       }
    //     },
    //   ]
    // },
    // 打赏管理
    {
        path: "/reward",
        component: 'Layout',
        redirect: '/reward/list',
        meta: {
            menuName: 'Reward',
            icon: 'icon-crmkehuguanli',
            subNavName: [{
                name: "RewardManage",
                url: [
                    {
                        name: 'RewardList',
                        url: '/reward/list'
                    }
                ]
            }]
        },
        children: [
            {
                path: 'list',
                name: 'RewardList',
                component: '/reward/list',
                meta: {
                    title: 'RewardManage',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'RewardList',
                        index: 0,
                        auth: ['pagedata', 'add', 'edit', 'delete']
                    }]
                }
            },
        ]
    },
    // 组局管理
    // {
    //   path: '/bureau',
    //   component: 'Layout',
    //   redirect: '/bureau/list',
    //   meta: {
    //     menuName: 'Bureau',
    //     icon: 'icon-crmkehuguanli',
    //     subNavName: [{
    //       name: 'BureauManage',
    //       url: [{
    //         name: 'BureauList',
    //         url: '/bureau/list'
    //       },{
    //         name: 'BureauCategory',
    //         url: '/bureau/category'
    //       }
    //     ]
    //     }]
    //   },
    //   children: [
    //     {
    //       path: 'list',
    //       name: 'BureauList',
    //       component: '/bureau/list',
    //       meta: {
    //         title: 'BureauManage',
    //         auth: [],
    //         isOnly: false,
    //         pagePermission: [{
    //           title: 'BureauList',
    //           index: 0,
    //           auth: ['pagedata', 'add', 'edit', 'delete']
    //         }]
    //       }
    //     },
    //     {
    //       path: 'category',
    //       name: 'BureauCategory',
    //       component: '/bureau/category',
    //       meta: {
    //         title: 'BureauManage',
    //         auth: [],
    //         isOnly: false,
    //         pagePermission: [{
    //           title: 'BureauCategory',
    //           index: 0,
    //           auth: ['pagedata', 'add', 'edit', 'delete']
    //         }]
    //       }
    //     }
    //   ]
    // },
    // 用户管理
    {
        path: '/custom',
        component: 'Layout',
        redirect: '/custom/list',
        meta: {
            menuName: 'Custom',
            icon: 'icon-crmkehuguanli',
            subNavName: [{
                name: 'CustomManage',
                url: [{
                    name: 'CustomList',
                    url: '/custom/list'
                }, {
                    name: 'CustomLabel',
                    url: '/custom/label'
                }]
            }]
        },
        children: [{
            path: 'list',
            name: 'CustomList',
            component: '/custom/list',
            meta: {
                title: 'CustomManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'CustomList',
                    index: 0,
                    auth: ['pagedata', 'deleteTag', 'helpPayBalanceOrder']
                }]
            }
        }, {
            path: 'label',
            name: 'CustomLabel',
            component: '/custom/label',
            meta: {
                title: 'CustomManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'CustomLabel',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }]
    },
    // 服务管理
    {
        path: '/service',
        component: 'Layout',
        redirect: '/service/classify',
        meta: {
            menuName: 'Service',
            icon: 'icon-yuyue',
            subNavName: [{
                name: 'ServiceManage',
                url: [{
                    name: 'ServiceClassify',
                    url: '/service/classify'
                }, {
                    name: 'ServiceManage',
                    url: '/service/list'
                }, {
                    name: 'ServiceBell',
                    url: '/service/bell'
                }, {
                    name: 'ServiceExamine',
                    url: '/service/examine'
                }]
            }, {
                name: 'ServiceSet',
                url: [{
                    name: 'ServiceBannerList',
                    url: '/service/banner'
                }, {
                    name: 'ServiceBellSet',
                    url: '/service/bell-set'
                }]
            }]
        },
        children: [{
            path: 'classify',
            name: 'ServiceClassify',
            component: '/service/classify',
            meta: {
                keepAlive: true,
                title: 'ServiceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ServiceClassify',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'list',
            name: 'ServiceManage',
            component: '/service/service/list',
            meta: {
                keepAlive: true,
                title: 'ServiceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ServiceManage',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'service/edit',
            name: 'ServiceEdit',
            component: '/service/service/edit',
            hidden: true,
            meta: {
                title: 'ServiceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ServiceEdit',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'bell',
            name: 'ServiceBell',
            component: '/service/bell/list',
            meta: {
                keepAlive: true,
                title: 'ServiceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ServiceBell',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'bell/edit',
            name: 'ServiceBellEdit',
            component: '/service/bell/edit',
            hidden: true,
            meta: {
                title: 'ServiceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ServiceBellEdit',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'examine',
            name: 'ServiceExamine',
            component: '/service/service/examine',
            meta: {
                title: 'ServiceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ServiceExamine',
                    index: 0,
                    auth: ['pagedata', 'examine', 'view', 'delete']
                }]
            }
        }, {
            path: 'banner',
            name: 'ServiceBannerList',
            component: '/service/set/list',
            meta: {
                keepAlive: true,
                title: 'ServiceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ServiceBannerList',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'banner/edit',
            name: 'ServiceBannerEdit',
            component: '/service/set/edit',
            hidden: true,
            meta: {
                title: 'ServiceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ServiceBannerEdit',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'bell-set',
            name: 'ServiceBellSet',
            component: '/service/set/bell-set',
            meta: {
                title: 'ServiceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ServiceBellSet',
                    index: 0,
                    auth: []
                }]
            }
        }]
    },

    // 订单管理
    {
        path: '/shop',
        component: 'Layout',
        redirect: '/shop/order/list',
        meta: {
            menuName: 'Shop',
            icon: 'icon-dingdan',
            subNavName: [{
                name: 'ShopOrderManage',
                url: [{
                    name: 'ShopOrder',
                    url: '/shop/order/list'
                }, {
                    name: 'ShopBellOrder',
                    url: '/shop/order/bell'
                }, {
                    name: 'ShopRefuseOrder',
                    url: '/shop/order/refuse'
                },
                    {
                        name: 'ShopRefund',
                        url: '/shop/refund/list'
                    },
                    {
                        name: 'ShopBellRefund',
                        url: '/shop/refund/bell'
                    }]
            }, {
                name: 'ShopEvaluate',
                url: [{
                    name: 'ShopEvaluateLabel',
                    url: '/shop/evaluate/label'
                },
                    {
                        name: 'ShopEvaluate',
                        url: '/shop/evaluate/list'
                    }]
            }, {
                name: 'ShopCommission',
                url: [{
                    name: 'ShopCommissiondistribution',
                    url: '/shop/commission/distribution'
                }]
            },
                // {
                //   name: 'ShowBatchOrder',
                //   url: [{
                //     name: 'showBatchOrderList',
                //     url: '/shop/order/batchOrder'
                //   }]
                // }
            ]
        },
        children: [{
            path: 'order/list',
            name: 'ShopOrder',
            component: '/shop/order/list',
            meta: {
                keepAlive: true,
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopOrder',
                    index: 0,
                    auth: ['pagedata', 'view', 'print', 'export', 'transferOrder', 'orderTaking', 'setOut', 'arrive', 'startService', 'serviceCompletion']
                }]
            }
        }, {
            path: 'order/bell',
            name: 'ShopBellOrder',
            component: '/shop/order/bell',
            meta: {
                keepAlive: true,
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopBellOrder',
                    index: 0,
                    auth: ['pagedata', 'view', 'print', 'export', 'orderTaking', 'startService', 'serviceCompletion']
                }]
            }
        }, {
            path: 'order/refuse',
            name: 'ShopRefuseOrder',
            component: '/shop/order/refuse',
            meta: {
                keepAlive: true,
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopRefuseOrder',
                    index: 0,
                    auth: ['pagedata', 'view', 'transferOrder', 'agreeRefund']
                }]
            }
        }, {
            path: 'order/detail',
            name: 'ShopOrderDetail',
            component: '/shop/order/detail',
            hidden: true,
            meta: {
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopOrderDetail',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'refund/list',
            name: 'ShopRefund',
            component: '/shop/refund/list',
            meta: {
                keepAlive: true,
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopRefund',
                    index: 0,
                    auth: ['pagedata', 'view', 'agreeRefund', 'rejectRefund']
                }]
            }
        }, {
            path: 'refund/bell',
            name: 'ShopBellRefund',
            component: '/shop/refund/bell',
            meta: {
                keepAlive: true,
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopBellRefund',
                    index: 0,
                    auth: ['pagedata', 'view', 'agreeRefund', 'rejectRefund']
                }]
            }
        }, {
            path: 'refund/detail',
            name: 'ShopRefundDetail',
            component: '/shop/refund/detail',
            hidden: true,
            meta: {
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopRefundDetail',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'evaluate/label',
            name: 'ShopEvaluateLabel',
            component: '/shop/evaluate/label',
            meta: {
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopEvaluateLabel',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'evaluate/list',
            name: 'ShopEvaluate',
            component: '/shop/evaluate/list',
            meta: {
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopEvaluate',
                    index: 0,
                    auth: ['pagedata', 'add', 'delete']
                }]
            }
        }, {
            path: 'commission/distribution',
            name: 'ShopCommissiondistribution',
            component: '/shop/commission/distribution',
            meta: {
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'ShopCommissiondistribution',
                    index: 0,
                    auth: ['pagedata', 'export']
                }]
            }
        }, {
            path: 'order/batchOrder',
            name: 'showBatchOrderList',
            component: '/shop/order/batchOrder',
            meta: {
                title: 'ShopOrderManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'showBatchOrderList',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        },]
    },
    // 球厅管理
    {
        path: '/distribution',
        component: 'Layout',
        redirect: '/distribution/examine',
        meta: {
            menuName: 'Distribution',
            icon: 'icon-shenhe',
            subNavName: [{
                name: 'DistributionManage',
                url: [{
                    name: 'DistributionExamine',
                    url: '/distribution/examine'
                }, {
                    name: 'DistributionCount',
                    url: '/distribution/count'
                }, {
                    name: 'DistributionSet',
                    url: '/distribution/set'
                }, {
                    name: 'DistributionAdd',
                    url: '/distribution/add'
                }]
            }]
        },
        children: [
            {
                path: 'examine',
                name: 'DistributionExamine',
                component: '/distribution/examine',
                meta: {
                    title: 'DistributionManage',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'DistributionExamine',
                        index: 0,
                        auth: ['pagedata', 'view', 'delete', 'authDistribution', 'cancelAuth', 'resetAuth']
                    }]
                }
            },
            {
                path: 'count',
                name: 'DistributionCount',
                component: '/distribution/count',
                meta: {
                    keepAlive: true,
                    title: 'DistributionManage',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'DistributionCount',
                        index: 0,
                        auth: []
                    }]
                }
            },
            {
                path: 'set',
                name: 'DistributionSet',
                component: '/distribution/set',
                meta: {
                    title: 'DistributionManage',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'DistributionSet',
                        index: 0,
                        auth: []
                    }]
                }
            },
            {
                path: 'add',
                name: 'DistributionAdd',
                component: '/distribution/add',
                meta: {
                    title: 'DistributionAdd',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'DistributionAdd',
                        index: 0,
                        auth: []
                    }]
                }
            }]
    },
    // 业务员管理
    // {
    //   path: '/salesman',
    //   component: 'Layout',
    //   redirect: '/salesman/examine',
    //   meta: {
    //     menuName: 'Salesman',
    //     icon: 'icon-kehu',
    //     subNavName: [{
    //       name: 'SalesmanManage',
    //       url: [{
    //         name: 'SalesmanExamine',
    //         url: '/salesman/examine'
    //       }, {
    //         name: 'SalesmanCount',
    //         url: '/salesman/count'
    //       }, {
    //         name: 'SalesmanSet',
    //         url: '/salesman/set'
    //       }]
    //     }]
    //   },
    //   children: [{
    //     path: 'examine',
    //     name: 'SalesmanExamine',
    //     component: '/salesman/examine',
    //     meta: {
    //       title: 'SalesmanManage',
    //       auth: [],
    //       isOnly: false,
    //       pagePermission: [{
    //         title: 'SalesmanExamine',
    //         index: 0,
    //         auth: ['pagedata', 'view', 'delete', 'authSalesman', 'cancelAuth', 'resetAuth']
    //       }]
    //     }
    //   }, {
    //     path: 'count',
    //     name: 'SalesmanCount',
    //     component: '/salesman/count',
    //     meta: {
    //       keepAlive: true,
    //       title: 'SalesmanManage',
    //       auth: [],
    //       isOnly: false,
    //       pagePermission: [{
    //         title: 'SalesmanCount',
    //         index: 0,
    //         auth: []
    //       }]
    //     }
    //   }, {
    //     path: 'set',
    //     name: 'SalesmanSet',
    //     component: '/salesman/set',
    //     meta: {
    //       title: 'SalesmanManage',
    //       auth: [],
    //       isOnly: false,
    //       pagePermission: [{
    //         title: 'SalesmanSet',
    //         index: 0,
    //         auth: []
    //       }]
    //     }
    //   }]
    // },
    // 渠道商管理
    // {
    //   path: '/channel',
    //   component: 'Layout',
    //   redirect: '/channel/examine',
    //   meta: {
    //     menuName: 'Channel',
    //     icon: 'icon-yingxiao2',
    //     subNavName: [{
    //       name: 'ChannelManage',
    //       url: [{
    //         name: 'ChannelExamine',
    //         url: '/channel/examine'
    //       }, {
    //         name: 'ChannelClassify',
    //         url: '/channel/classify'
    //       }, {
    //         name: 'ChannelFinance',
    //         url: '/channel/finance'
    //       }, {
    //         name: 'ChannelSet',
    //         url: '/channel/set'
    //       }]
    //     }]
    //   },
    //   children: [{
    //     path: 'examine',
    //     name: 'ChannelExamine',
    //     component: '/channel/examine',
    //     meta: {
    //       title: 'ChannelManage',
    //       auth: [],
    //       isOnly: false,
    //       pagePermission: [{
    //         title: 'ChannelExamine',
    //         index: 0,
    //         auth: ['pagedata', 'view', 'delete', 'authChannel', 'cancelAuth', 'resetAuth']
    //       }]
    //     }
    //   }, {
    //     path: 'classify',
    //     name: 'ChannelClassify',
    //     component: '/channel/classify',
    //     meta: {
    //       title: 'ChannelManage',
    //       auth: [],
    //       isOnly: false,
    //       pagePermission: [{
    //         title: 'ChannelClassify',
    //         index: 0,
    //         auth: ['pagedata', 'add', 'edit', 'delete']
    //       }]
    //     }
    //   }, {
    //     path: 'finance',
    //     name: 'ChannelFinance',
    //     component: '/channel/finance',
    //     meta: {
    //       title: 'ChannelManage',
    //       auth: [],
    //       isOnly: false,
    //       pagePermission: [{
    //         title: 'ChannelFinance',
    //         index: 0,
    //         auth: ['pagedata', 'print', 'export']
    //       }]
    //     }
    //   }, {
    //     path: 'set',
    //     name: 'ChannelSet',
    //     component: '/channel/set',
    //     meta: {
    //       title: 'ChannelManage',
    //       auth: [],
    //       isOnly: false,
    //       pagePermission: [{
    //         title: 'ChannelSet',
    //         index: 0,
    //         auth: []
    //       }]
    //     }
    //   }]
    // },
    // 代理商
    {
        path: '/agent',
        component: 'Layout',
        redirect: '/agent/account',
        meta: {
            menuName: 'Agent',
            icon: 'icon-zizhanghaoguanli',
            subNavName: [{
                name: 'AgentManage',
                url: [{
                    name: 'AgentAccount',
                    url: '/agent/account'
                }, {
                    name: 'AgentApply',
                    url: '/agent/apply'
                }, {
                    name: 'AgentSet',
                    url: '/agent/set'
                },
                    // {
                    //   name: 'AgentDistribute',
                    //   url: '/agent/distribute'
                    // }
                ]
            }]
        },
        children: [{
            path: 'account',
            name: 'AgentAccount',
            component: '/agent/account',
            meta: {
                title: 'AgentManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'AgentAccount',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'apply',
            name: 'AgentApply',
            component: '/agent/apply',
            meta: {
                title: 'AgentManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'AgentApply',
                    index: 0,
                    auth: ['pagedata', 'read']
                }]
            }
        }, {
            path: 'set',
            name: 'AgentSet',
            component: '/agent/set',
            meta: {
                title: 'AgentManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'AgentSet',
                    index: 0,
                    auth: []
                }]
            }
        },
            // {
            //   path: 'distribute',
            //   name: 'AgentDistribute',
            //   component: '/agent/distribute',
            //   meta: {
            //     title: 'AgentManage',
            //     auth: [],
            //     isOnly: false,
            //     pagePermission: [{
            //       title: 'AgentDistribute',
            //       index: 0,
            //       auth: ['pagedata', 'add', 'edit', 'delete']
            //     }]
            //   }
            // },
        ]
    },

    // 营销管理
    {
        path: '/market',
        component: 'Layout',
        redirect: '/market/article/list',
        meta: {
            menuName: 'Market',
            icon: 'icon-yingxiao',
            subNavName: [{
                name: 'MarketManage',
                url: [{
                    name: 'MarketArticle',
                    url: '/market/article/list'
                }, {
                    name: 'MarketCoupon',
                    url: '/market/coupon/list'
                }, {
                    name: 'MarketAtv',
                    url: '/market/atv'
                }]
            }]
        },
        children: [{
            path: 'article/list',
            name: 'MarketArticle',
            component: '/market/article/list',
            meta: {
                keepAlive: true,
                title: 'MarketManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MarketArticle',
                    url: 'list',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete', 'formData']
                }, {
                    title: 'MarketArticleEnroll',
                    url: 'enroll',
                    index: 1,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'article/enroll',
            name: 'MarketArticleEnroll',
            component: '/market/article/enroll',
            meta: {
                title: 'MarketManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MarketArticleList',
                    url: 'list',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete', 'formData']
                }, {
                    title: 'MarketArticleEnroll',
                    url: 'enroll',
                    index: 1,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'article/edit',
            name: 'MarketArticleEdit',
            component: '/market/article/edit',
            hidden: true,
            meta: {
                title: 'MarketManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MarketArticleEdit',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'article/record',
            name: 'MarketArticleRecord',
            component: '/market/article/record',
            hidden: true,
            meta: {
                title: 'MarketManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MarketArticleRecord',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'coupon/list',
            name: 'MarketCoupon',
            component: '/market/coupon/list',
            meta: {
                keepAlive: true,
                title: 'MarketManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MarketCoupon',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete', 'handOut']
                }]
            }
        }, {
            path: 'coupon/edit',
            name: 'MarketCouponEdit',
            component: '/market/coupon/edit',
            hidden: true,
            meta: {
                title: 'MarketManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MarketCouponEdit',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'atv',
            name: 'MarketAtv',
            component: '/market/atv',
            meta: {
                title: 'MarketManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MarketAtv',
                    index: 0,
                    auth: []
                }]
            }
        }]
    },
    // 财务管理
    {
        path: '/finance',
        component: 'Layout',
        redirect: '/finance/stored/list',
        meta: {
            menuName: 'Finance',
            icon: 'icon-finance',
            subNavName: [{
                name: 'FinanceStored',
                url: [{
                    name: 'FinanceStored',
                    url: '/finance/stored/list'
                }, {
                    name: 'FinanceStoredOrder',
                    url: '/finance/stored/order'
                }, {
                    name: 'FinanceStoredSet',
                    url: '/finance/stored/set'
                }]
            }, {
                name: 'FinanceManage',
                url: [{
                    name: 'FinanceManage',
                    url: '/finance/list'
                }, {
                    name: 'FinanceRecord',
                    url: '/finance/record'
                }, {
                    name: 'FinanceSheet',
                    url: '/finance/sheet'
                }]
            }]
        },
        children: [{
            path: 'stored/list',
            name: 'FinanceStored',
            component: '/finance/stored/list',
            meta: {
                title: 'FinanceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FinanceStored',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete', 'payBalanceOrder']
                }]
            }
        }, {
            path: 'stored/order',
            name: 'FinanceStoredOrder',
            component: '/finance/stored/order',
            meta: {
                title: 'FinanceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FinanceStoredOrder',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'stored/set',
            name: 'FinanceStoredSet',
            component: '/finance/stored/set',
            meta: {
                title: 'FinanceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FinanceStoredSet',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'list',
            name: 'FinanceManage',
            component: '/finance/finance/list',
            meta: {
                title: 'FinanceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FinanceManage',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'record',
            name: 'FinanceRecord',
            component: '/finance/finance/record',
            meta: {
                title: 'FinanceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FinanceRecord',
                    index: 0,
                    auth: ['pagedata', 'wechatCashOut', 'alipayCashOut', 'underlineCashOut', 'rejectCashOut']
                }]
            }
        }, {
            path: 'sheet',
            name: 'FinanceSheet',
            component: '/finance/finance/sheet',
            meta: {
                title: 'FinanceManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FinanceSheet',
                    index: 0,
                    auth: ['pagedata', 'export']
                }]
            }
        }]
    },
    // 物料商城
    {
        path: '/mall',
        component: 'Layout',
        redirect: '/mall/sort',
        meta: {
            menuName: 'Mall',
            icon: 'icon-gouwudai',
            subNavName: [{
                name: 'MallManage',
                url: [{
                    name: 'MallSort',
                    url: '/mall/sort'
                }, {
                    name: 'MallGoodList',
                    url: '/mall/list'
                }]
            }]
        },
        children: [{
            path: 'sort',
            name: 'MallSort',
            component: '/mall/sort',
            meta: {
                title: 'MallManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MallSort',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'list',
            name: 'MallGoodList',
            component: '/mall/list',
            meta: {
                keepAlive: true,
                title: 'MallManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MallGoodList',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        }, {
            path: 'edit',
            name: 'MallGoodEdit',
            component: '/mall/edit',
            hidden: true,
            meta: {
                title: 'MallManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'MallGoodEdit',
                    index: 0,
                    auth: []
                }]
            }
        }]
    },
    // 动态管理
    {
        path: '/dynamic',
        component: 'Layout',
        redirect: '/dynamic/list',
        meta: {
            menuName: 'Dynamic',
            icon: 'icon-dongtai1',
            subNavName: [{
                name: 'DynamicManage',
                url: [{
                    name: 'DynamicList',
                    url: '/dynamic/list'
                }, {
                    name: 'DynamicComment',
                    url: '/dynamic/comment'
                }, {
                    name: 'DynamicSet',
                    url: '/dynamic/set'
                }]
            }]
        },
        children: [{
            path: 'list',
            name: 'DynamicList',
            component: '/dynamic/list',
            meta: {
                title: 'DynamicManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'DynamicList',
                    index: 0,
                    auth: ['pagedata', 'examine', 'view', 'delete']
                }]
            }
        }, {
            path: 'comment',
            name: 'DynamicComment',
            component: '/dynamic/comment',
            meta: {
                title: 'DynamicManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'DynamicComment',
                    index: 0,
                    auth: ['pagedata', 'pass', 'reject', 'delete']
                }]
            }
        }, {
            path: 'set',
            name: 'DynamicSet',
            component: '/dynamic/set',
            meta: {
                title: 'DynamicManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'DynamicSet',
                    index: 0,
                    auth: []
                }]
            }
        }]
    },
    // 门店
    // {
    //     path: '/store',
    //     component: 'Layout',
    //     redirect: '/store/manage',
    //     meta: {
    //         menuName: 'Store',
    //         icon: 'iconshangjia',
    //         subNavName: [{
    //             name: 'StoreManage',
    //             url: [{
    //                 name: 'StoreList',
    //                 url: '/store/manage'
    //             }]
    //         }]
    //     },
    //     children: [{
    //         path: 'manage',
    //         name: 'StoreList',
    //         component: '/store/manage/list',
    //         meta: {
    //             keepAlive: true,
    //             title: 'StoreManage',
    //             auth: [],
    //             isOnly: false,
    //             pagePermission: [{
    //                 title: 'StoreList',
    //                 index: 0,
    //                 auth: ['pagedata', 'add', 'edit', 'delete']
    //             }]
    //         }
    //     }, {
    //         path: 'manage/edit',
    //         name: 'StoreAdd',
    //         component: '/store/manage/edit',
    //         hidden: true,
    //         meta: {
    //             title: 'StoreManage',
    //             auth: [],
    //             isOnly: false,
    //             pagePermission: [{
    //                 title: 'StoreAdd',
    //                 index: 0,
    //                 auth: []
    //             }]
    //         }
    //     }]
    // },
    // 求救通知
    {
        path: '/notice',
        component: 'Layout',
        redirect: '/notice/list',
        meta: {
            menuName: 'Notice',
            icon: 'icon-lingdang',
            subNavName: [{
                name: 'NoticeManage',
                url: [{
                    name: 'NoticeList',
                    url: '/notice/list'
                }, {
                    name: 'NoticeSet',
                    url: '/notice/set'
                }]
            }]
        },
        children: [{
            path: 'list',
            name: 'NoticeList',
            component: '/notice/list',
            meta: {
                title: 'NoticeManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'NoticeList',
                    index: 0,
                    auth: ['pagedata', 'read', 'delete']
                }]
            }
        }, {
            path: 'set',
            name: 'NoticeSet',
            component: '/notice/set',
            meta: {
                title: 'NoticeManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'NoticeSet',
                    index: 0,
                    auth: []
                }]
            }
        }]
    },
    // 订单通知
    {
        path: '/order',
        component: 'Layout',
        redirect: '/order/notice',
        isHidden: true,
        meta: {
            menuName: 'ShopOrderNotice',
            icon: 'icon-tongzhi'
        },
        children: [{
            path: 'notice',
            name: 'ShopOrderNotice',
            component: '/shop/notice',
            meta: {
                keepAlive: true,
                title: '',
                auth: [],
                isOnly: true,
                pagePermission: [{
                    title: 'ShopOrderNotice',
                    index: 0,
                    auth: ['pagedata', 'read', 'delete']
                }]
            }
        }]
    },
    // 问题反馈
    {
        path: '/feedback',
        component: 'Layout',
        redirect: '/feedback/list',
        meta: {
            menuName: 'Feedback',
            icon: 'iconchefeitixianjilu',
            subNavName: [{
                name: 'FeedbackManage',
                url: [{
                    name: 'FeedbackList',
                    url: '/feedback/list'
                }, {
                    name: 'FeedbackAppealList',
                    url: '/feedback/appeal/list'
                }]
            }]
        },
        children: [{
            path: 'list',
            name: 'FeedbackList',
            component: '/feedback/list',
            meta: {
                keepAlive: true,
                title: 'FeedbackManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FeedbackList',
                    index: 0,
                    auth: ['pagedata', 'view', 'handle']
                }]
            }
        }, {
            path: 'detail',
            name: 'FeedbackDetail',
            component: '/feedback/detail',
            hidden: true,
            meta: {
                title: 'FeedbackManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FeedbackDetail',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'appeal/list',
            name: 'FeedbackAppealList',
            component: '/feedback/appeal/list',
            meta: {
                keepAlive: true,
                title: 'FeedbackManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FeedbackAppealList',
                    index: 0,
                    auth: ['pagedata', 'view', 'handle', 'badComment']
                }]
            }
        }, {
            path: 'appeal/detail',
            name: 'FeedbackAppealDetail',
            component: '/feedback/appeal/detail',
            hidden: true,
            meta: {
                title: 'FeedbackManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'FeedbackAppealDetail',
                    index: 0,
                    auth: []
                }]
            }
        }]
    },
    // 权限管理
    {
        path: '/account',
        component: 'Layout',
        redirect: '/account/phone',
        meta: {
            menuName: 'Account',
            icon: 'icon-account',
            subNavName: [{
                name: 'AccountPhoneManage',
                url: [{
                    name: 'AccountPhone',
                    url: '/account/phone'
                }]
            }, {
                name: 'AccountPcManage',
                url: [
                    {
                        name: 'AccountRole',
                        url: '/account/role'
                    },
                    {
                        name: 'AccountList',
                        url: '/account/list'
                    }]
            }, {
                name: 'AccountOperManage',
                url: [{
                    name: 'AccountOperLog',
                    url: '/account/log'
                }]
            }]
        },
        children: [{
            path: 'phone',
            name: 'AccountPhone',
            component: '/account/phone',
            meta: {
                title: 'AccountManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'AccountPhone',
                    index: 0,
                    auth: ['pagedata', 'add', 'edit', 'delete']
                }]
            }
        },
            {
                path: 'role',
                name: 'AccountRole',
                component: '/account/role',
                hidden: true,
                meta: {
                    title: 'AccountManage',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'AccountRole',
                        index: 0,
                        auth: ['pagedata', 'add', 'edit', 'delete']
                    }]
                }
            },
            {
                path: 'list',
                name: 'AccountList',
                component: '/account/list',
                hidden: true,
                meta: {
                    title: 'AccountManage',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'AccountList',
                        index: 0,
                        auth: ['pagedata', 'add', 'edit', 'delete']
                    }]
                }
            }, {
                path: 'log',
                name: 'AccountOperLog',
                component: '/account/log',
                hidden: true,
                meta: {
                    title: 'AccountManage',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'AccountOperLog',
                        index: 0,
                        auth: []
                    }]
                }
            }]
    },
    // 地址管理
    {
        path: '/address',
        component: 'Layout',
        redirect: '/address/list',
        meta: {
            menuName: 'Address',
            icon: 'iconjuli1',
            subNavName: [{
                name: 'AddressList',
                url: [{
                    name: 'AddressList',
                    url: '/address/list'
                }]
            }]
        },
        children: [
            {
                path: 'list',
                name: 'Address',
                component: '/address/list',
                meta: {
                    title: 'Address',
                    auth: [],
                    isOnly: false,
                    pagePermission: [{
                        title: 'AddressList',
                        index: 0,
                        auth: ['pagedata', 'add', 'edit', 'delete']
                    }]
                }
            }
        ]
    },
    // diy
    {
        path: '/diy',
        component: 'Layout',
        redirect: '/diy/color',
        meta: {
            menuName: 'Diy',
            icon: 'icon-sharpicons_palette',
            subNavName: [{
                name: 'DiyManage',
                url: [{
                    name: 'DiyColor',
                    url: '/diy/color'
                }, {
                    name: 'DiySet',
                    url: '/diy/set'
                }]
            }]
        },
        children: [{
            path: 'color',
            name: 'DiyColor',
            component: '/diy/color',
            meta: {
                title: 'DiyManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'DiyColor',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'set',
            name: 'DiySet',
            component: '/diy/set',
            meta: {
                title: 'DiyManage',
                auth: [],
                isOnly: false,
                pagePermission: [{
                    title: 'DiySet',
                    index: 0,
                    auth: []
                }]
            }
        }]
    },
    // 系统
    {
        path: '/sys',
        component: 'Layout',
        redirect: '/sys/information',
        meta: {
            menuName: 'System',
            icon: 'icon-xitong',
            subNavName: [{
                name: 'SystemSetting',
                url: [{
                    name: 'SystemInformation',
                    url: '/sys/information',
                    auth: 1
                },
                    {
                        name: 'SystemWechat',
                        url: '/sys/wechat',
                        auth: 1
                    },
                    {
                        name: 'SystemH5',
                        url: '/sys/h5',
                        auth: 1
                    },
                    {
                        name: 'SystemApp',
                        url: '/sys/app',
                        auth: 1
                    },
                    {
                        name: 'SystemEmploy',
                        url: '/sys/employ',
                        auth: 1
                    },
                    {
                        name: 'SystemLink',
                        url: '/sys/link',
                        auth: 1
                    },
                    {
                        name: 'SystemInfo',
                        url: '/sys/info',
                        auth: 1
                    },
                    {
                        name: 'SystemPayment',
                        url: '/sys/payment',
                        auth: 1
                    },
                    {
                        name: 'SystemUpload',
                        url: '/sys/upload',
                        auth: 1
                    },
                    {
                        name: 'SystemTransaction',
                        url: '/sys/transaction',
                        auth: 1
                    },
                    {
                        name: 'SystemAllNotice',
                        url: '/sys/notice',
                        auth: 1
                    }
                ]
            }, {
                name: 'SystemMessageSet',
                url: [
                    {
                        name: 'SystemAliyun',
                        url: '/sys/aliyun',
                        auth: 1
                    },
                    {
                        name: 'System7moor',
                        url: '/sys/7moor',
                        auth: 1
                    },
                    {
                        name: 'SystemVirtual',
                        url: '/sys/virtual-set',
                        auth: 1
                    },
                    {
                        name: 'SystemReminder',
                        url: '/sys/reminder',
                        auth: 1
                    },
                    {
                        name: 'SystemMessage',
                        url: '/sys/message',
                        auth: 1
                    }]
            },
              {
                name: 'SystemOther',
                url: [
                //   {
                //     name: 'SystemFdd',
                //     url: '/sys/fdd',
                //     auth: 1
                // }
                // , {
                //     name: 'SystemPrint',
                //     url: '/sys/print',
                //     auth: 1
                // },
                    {
                        name: 'SystemCarFee',
                        url: '/sys/car-fee-set',
                        auth: 1
                    },
                    {
                        name: 'SystemCity',
                        url: '/sys/city',
                        auth: 1
                    },
                    {
                        name: 'SystemTravel',
                        url: '/sys/travel',
                        auth: 1
                    },
                    {
                        name: 'SystemOther',
                        url: '/sys/other',
                        auth: 1
                    }
                ]
            }]
        },
        children: [{
            path: 'information',
            name: 'SystemInformation',
            component: '/system/information',
            meta: {
                keepAlive: true,
                title: 'SystemSetting',
                auth: 1,
                isOnly: false,
                pagePermission: [{
                    title: 'SystemInformation',
                    index: 0,
                    auth: ['view']
                }]
            }
        }, {
            path: 'wechat',
            name: 'SystemWechat',
            component: '/system/wechat',
            meta: {
                title: 'SystemSetting',
                auth: 1,
                isOnly: false,
                pagePermission: [{
                    title: 'SystemWechat',
                    index: 0,
                    auth: []
                }]
            }
        }, {
            path: 'h5',
            name: 'SystemH5',
            component: '/system/h5',
            meta: {
                title: 'SystemSetting',
                auth: 1,
                isOnly: false,
                pagePermission: [{
                    title: 'SystemH5',
                    index: 0,
                    auth: []
                }]
            }
        },
            {
                path: 'app',
                name: 'SystemApp',
                component: '/system/app',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemApp',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'employ',
                name: 'SystemEmploy',
                component: '/system/employ',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemEmploy',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'link',
                name: 'SystemLink',
                component: '/system/link',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemLink',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'info',
                name: 'SystemInfo',
                component: '/system/info',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemInfo',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'payment',
                name: 'SystemPaymentWechat',
                component: '/system/payment/wechat',
                meta: {
                    title: 'SystemSetting',
                    isOnly: false,
                    auth: 1,
                    pagePermission: [{
                        title: 'SystemPaymentWechat',
                        url: 'payment',
                        index: 0,
                        auth: []
                    }, {
                        title: 'SystemPaymentAlipay',
                        url: 'alipay',
                        index: 1,
                        auth: []
                    }]
                }
            },
            {
                path: 'alipay',
                name: 'SystemPaymentAlipay',
                component: '/system/payment/alipay',
                meta: {
                    title: 'SystemSetting',
                    isOnly: false,
                    auth: 1,
                    pagePermission: [{
                        title: 'SystemPaymentWechat',
                        url: 'payment',
                        index: 0,
                        auth: []
                    }, {
                        title: 'SystemPaymentAlipay',
                        url: 'alipay',
                        index: 1,
                        auth: []
                    }]
                }
            }, {
                path: 'upload',
                name: 'SystemUpload',
                component: '/system/upload',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemUpload',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'transaction',
                name: 'SystemTransaction',
                component: '/system/transaction',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemTransaction',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'travel',
                name: 'SystemTravel',
                component: '/system/travel',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemTravel',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'notice',
                name: 'SystemAllNotice',
                component: '/system/notice',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemAllNotice',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'aliyun',
                name: 'SystemAliyun',
                component: '/system/aliyun',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemAliyun',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: '7moor',
                name: 'System7moor',
                component: '/system/7moor',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'System7moor',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'virtual-set',
                name: 'SystemVirtualSet',
                component: '/system/virtual/set',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemVirtualSet',
                        url: 'virtual-set',
                        index: 0,
                        auth: []
                    }, {
                        title: 'SystemVirtualRecord',
                        url: 'virtual-record',
                        index: 1,
                        auth: ['pagedata', 'play', 'download']
                    }]
                }
            }, {
                path: 'virtual-record',
                name: 'SystemVirtualRecord',
                component: '/system/virtual/record',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemVirtualSet',
                        url: 'virtual-set',
                        index: 0,
                        auth: []
                    }, {
                        title: 'SystemVirtualRecord',
                        url: 'virtual-record',
                        index: 1,
                        auth: ['pagedata', 'play', 'download']
                    }]
                }
            }, {
                path: 'reminder',
                name: 'SystemReminder',
                component: '/system/reminder',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemReminder',
                        index: 0,
                        auth: []
                    }]
                }
            }, {
                path: 'message',
                name: 'SystemMessage',
                component: '/system/message',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemMessage',
                        index: 0,
                        auth: []
                    }]
                }
            },
          // {
          //       path: 'fdd',
          //       name: 'SystemFdd',
          //       component: '/system/fdd',
          //       meta: {
          //           title: 'SystemSetting',
          //           auth: 1,
          //           isOnly: false,
          //           pagePermission: [{
          //               title: 'SystemFdd',
          //               index: 0,
          //               auth: []
          //           }]
          //       }
          //   },
          // {
          //       path: 'print',
          //       name: 'SystemPrint',
          //       component: '/system/print',
          //       meta: {
          //           title: 'SystemSetting',
          //           auth: 1,
          //           isOnly: false,
          //           pagePermission: [{
          //               title: 'SystemPrint',
          //               index: 0,
          //               auth: []
          //           }]
          //       }
          //   },
          {
                path: 'car-fee-set',
                name: 'SystemCarFeeSet',
                component: '/system/car-fee/set',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemCarFeeSet',
                        url: 'car-fee-set',
                        index: 0,
                        auth: []
                    }, {
                        title: 'SystemCarFeeCity',
                        url: 'car-fee-city',
                        index: 1,
                        auth: ['pagedata', 'add', 'edit', 'delete']
                    }]
                }
            }, {
                path: 'car-fee-city',
                name: 'SystemCarFeeCity',
                component: '/system/car-fee/city',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemCarFeeSet',
                        url: 'car-fee-set',
                        index: 0,
                        auth: []
                    }, {
                        title: 'SystemCarFeeCity',
                        url: 'car-fee-city',
                        index: 1,
                        auth: ['pagedata', 'add', 'edit', 'delete']
                    }]
                }
            }, {
                path: 'city',
                name: 'SystemCity',
                component: '/system/city',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemCity',
                        index: 0,
                        auth: ['pagedata', 'add', 'edit', 'delete']
                    }]
                }
            }, {
                path: 'other',
                name: 'SystemOther',
                component: '/system/other',
                meta: {
                    title: 'SystemSetting',
                    auth: 1,
                    isOnly: false,
                    pagePermission: [{
                        title: 'SystemOther',
                        index: 0,
                        auth: []
                    }]
                }
            }]
    },
    {
        path: '*',
        redirect: '/404',
        hidden: true
    }
]
